package com.uchiha.nova.core.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;


/**
 * 中国地图的geo数据 实体类
 *
 * @author Chill
 */
@Data
@TableName("nova_china_geo_json")
@Schema(description = "ChinaGeoJson对象")
public class ChinaGeoJsonEntity  implements Serializable {

	private static final long serialVersionUID = 1L;
	/**
	 * id 主键雪花算法id
	 */
	@TableId(type = IdType.INPUT)
	@Schema(description = "主键id")
	private Long id;
	/**
	 * 名称
	 */
    @Schema(description = "名称")
    @TableField("name")
	private String name;
	/**
	 * 行政编码
	 */
    @Schema(description = "行政编码")
    @TableField("code")
	private String code;
	/**
	 * geo的json数据
	 */
    @Schema(description = "geo的json数据")
    @TableField("geo_json")
	private String geoJson;

}
